package services.business;

import base.IBaseServicesWithoutBLOBs;
import wt.entity.business.BusinessInfo;
import wt.entity.business.BusinessInfoExample;

import java.util.Date;
import java.util.List;

public interface BusinessInfoServices extends IBaseServicesWithoutBLOBs<BusinessInfo, BusinessInfoExample> {


    /**
     * 查询
     *
     * @param observerName
     * @param managerName
     * @param inspectorName    检查员姓名
     * @param checkStartTime   核查开始时间
     * @param checkEndTime     核查结束时间
     * @param companyName
     * @param productName
     * @param observerIsReport
     * @param observerIsAssess
     * @param managerIsAssess
     * @param companyIsAssess
     * @return
     */
    List<BusinessInfo> select(
            String observerName,
            String managerName,
            String inspectorName,
            Date checkStartTime,
            Date checkEndTime,
            String companyName,
            String productName,
            Short observerIsReport,
            Short observerIsAssess,
            Short managerIsAssess,
            Short companyIsAssess
    )throws Exception;

    BusinessInfo selectByBusinessCode(String businessCode) throws Exception;

    void insertSelective(BusinessInfo businessInfo, List<String> majorNumList) throws Exception;



}